package com.pastquestion;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main10e {
	static int res = 0;
	static int ans = 0;
	public static void main(String[] args) throws IOException {
		int[][] a = new int[30][50];
		BufferedReader bf = new BufferedReader(new InputStreamReader(new FileInputStream("C:\\Users\\shuoye\\Desktop\\a.txt")));
		for (int i = 0; i < 50; i++) {
			for (int j = 0; j < 30; j++) {
				a[i][j] = Integer.parseInt("" + bf.read());
			}
		}
		
		
	}
	
	public static void dfs(int m,int n,int tol,int sum) {
		if(m >= 50 || n >= 30)
			return;
			
		if(m == 49 && n == 29){
			if(res > tol)
				res = tol;
			return;
		}
	}

}
